﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace BPM.Foundation.PWDB
{
    [DataContract]
    public class MenuDto
    {
        [DataMember]
        public System.Guid ID { set; get; }
        [DataMember]
        public string menuNo { set; get; }
        [DataMember]
        public string parentMenu { set; get; }
        [DataMember]
        public string menuName { set; get; }
        [DataMember]
        public int menuType { set; get; }
        [DataMember]
        public string formName { set; get; }
        [DataMember]
        public int orderIndex { set; get; }
        [DataMember]
        public string exeFile { set; get; }
        [DataMember]
        public string wfTemplateId { set; get; }
        [DataMember]
        public int selectedFlag { set; get; }
    }

    [DataContract]
    public class MenuObjectDto
    {
        [DataMember]
        public Guid ID { get; set; }
        [DataMember]
        public Guid menuID { get; set; }
        [DataMember]
        public string menuName { get; set; }
        [DataMember]
        public string objectCode { get; set; }
        [DataMember]
        public string objectName { get; set; }
        [DataMember]
        public string remark { get; set; }
        [DataMember]
        public int selectedFlag { get; set; }
    }

}
